
<%@ page import="weblicitacao.Item" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'item.label', default: 'Item')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-item" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-item" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list item">
			
				<g:if test="${itemInstance?.numero}">
				<li class="fieldcontain">
					<span id="numero-label" class="property-label"><g:message code="item.numero.label" default="Numero" /></span>
					
						<span class="property-value" aria-labelledby="numero-label"><g:fieldValue bean="${itemInstance}" field="numero"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.descricao}">
				<li class="fieldcontain">
					<span id="descricao-label" class="property-label"><g:message code="item.descricao.label" default="Descricao" /></span>
					
						<span class="property-value" aria-labelledby="descricao-label"><g:fieldValue bean="${itemInstance}" field="descricao"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.quantidade}">
				<li class="fieldcontain">
					<span id="quantidade-label" class="property-label"><g:message code="item.quantidade.label" default="Quantidade" /></span>
					
						<span class="property-value" aria-labelledby="quantidade-label"><g:fieldValue bean="${itemInstance}" field="quantidade"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.quantidadeMinima}">
				<li class="fieldcontain">
					<span id="quantidadeMinima-label" class="property-label"><g:message code="item.quantidadeMinima.label" default="Quantidade Minima" /></span>
					
						<span class="property-value" aria-labelledby="quantidadeMinima-label"><g:fieldValue bean="${itemInstance}" field="quantidadeMinima"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.quantidadeMaxima}">
				<li class="fieldcontain">
					<span id="quantidadeMaxima-label" class="property-label"><g:message code="item.quantidadeMaxima.label" default="Quantidade Maxima" /></span>
					
						<span class="property-value" aria-labelledby="quantidadeMaxima-label"><g:fieldValue bean="${itemInstance}" field="quantidadeMaxima"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.valorUnitario}">
				<li class="fieldcontain">
					<span id="valorUnitario-label" class="property-label"><g:message code="item.valorUnitario.label" default="Valor Unitario" /></span>
					
						<span class="property-value" aria-labelledby="valorUnitario-label"><g:fieldValue bean="${itemInstance}" field="valorUnitario"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.valorTotal}">
				<li class="fieldcontain">
					<span id="valorTotal-label" class="property-label"><g:message code="item.valorTotal.label" default="Valor Total" /></span>
					
						<span class="property-value" aria-labelledby="valorTotal-label"><g:fieldValue bean="${itemInstance}" field="valorTotal"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.prazoDeEntrega}">
				<li class="fieldcontain">
					<span id="prazoDeEntrega-label" class="property-label"><g:message code="item.prazoDeEntrega.label" default="Prazo De Entrega" /></span>
					
						<span class="property-value" aria-labelledby="prazoDeEntrega-label"><g:fieldValue bean="${itemInstance}" field="prazoDeEntrega"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.licitacao}">
				<li class="fieldcontain">
					<span id="licitacao-label" class="property-label"><g:message code="item.licitacao.label" default="Licitacao" /></span>
					
						<span class="property-value" aria-labelledby="licitacao-label"><g:link controller="licitacao" action="show" id="${itemInstance?.licitacao?.id}">${itemInstance?.licitacao?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${itemInstance?.lote}">
				<li class="fieldcontain">
					<span id="lote-label" class="property-label"><g:message code="item.lote.label" default="Lote" /></span>
					
						<span class="property-value" aria-labelledby="lote-label"><g:link controller="lote" action="show" id="${itemInstance?.lote?.id}">${itemInstance?.lote?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${itemInstance?.id}" />
					<g:link class="edit" action="edit" id="${itemInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
